//
//  RecommendCollectionViewCell.m
//  FlowerLife
//
//  Created by zfc on 16/4/18.
//  Copyright © 2016年 zfc. All rights reserved.
//

#import "RecommendCollectionViewCell.h"

@implementation RecommendCollectionViewCell

- (void)setDataWithModel:(RecommendModel *)model {
    
    NSArray *array = [model.attachment componentsSeparatedByString:@","];
    
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:array[0]]];
}




/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
